<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class VideoFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'name'=>$this->faker->name,
            'type'=>random_int(0,1),
            'master_id'=>random_int(1,5),
            'show'=>$this->faker->paragraphs(2,true),
            'start_at'=>$this->faker->dateTime('now','PRC'),
            'end_at'=>$this->faker->dateTimeInInterval('now','+1 hours','PRC')
        ];
    }
}
